package com.tao.aszx.manager.mapper;


import com.tao.aszx.model.dto.system.SysUserDto;
import com.tao.aszx.model.entity.system.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysUserMapper {
    SysUser selectBySysUserName(String userName);

    List<SysUser> getAllSysUser( SysUserDto sysUserDto);

    int updateSysUser(SysUser sysUser);

    int saveSysUser(SysUser sysUser);

    SysUser getSysUserByName();

    int deleteById(int id);
}
